//
//  iMB_DownloadNetVideo.h
//  BabyNow
//
//  Created by 刘泽琛 on 14-8-1.
//  Copyright (c) 2014年 iMobile. All rights reserved.
//

#import <Foundation/Foundation.h>

/**
 *  返回进度百分比
 *
 *  @param progress 0.000000~1.0000000
 */
typedef void(^DownloadProgress)(float progress);

@interface iMB_DownloadNetVideo : NSObject

/**
 *  观察此参数
 */
@property (nonatomic, readwrite) float progress;

/**
 *  实例化 DownloadProgress
 */
@property (nonatomic, strong) DownloadProgress downloadProgress;

/**
 *  初始化下载
 *
 *  @param url              网络视频地址
 *  @param downloadProgress 0~1的进度
 */
- (void)toDownloadNetVideoUrl:(NSString *)url downProgress:(DownloadProgress)downloadProgress;

@end
